def personinfo(*languages, **info):
    for key, value in info.items():
        print(f"{key}:{value}")
    print("喜欢的编程语言如下：")
    for language in languages:
        print(language, end=" ")


personinfo("C", "C++", "Python", id=1, name="小千", age=19, grade="大二")
